<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http:dream/cust_tag.tld" prefix="cust"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	request.setAttribute("path", request.getContextPath());
%>

<div id="sidebar">
<ul>
   <li class="submenu"> 
		<a href="#"><i class="icon icon-inbox"></i> <span>库存查询</span></a>
			<ul>
			 <cust:when authority="stock_list">
			<li id="n02">
				<a href="${root}/stock/list/init?loc=stock_list&h=h04&n=n02"> 
					<span class="glyphicon glyphicon-list"></span>库存列表
				</a>
			</li>
			</cust:when>
			 <cust:when authority="stock_mine_list">
			<li id="n01">
				<a href="${root}/stock/mine/list/init?loc=stock_mine_list&h=h04&n=n01"> 
					<span class="glyphicon glyphicon-list"></span>库存调整
				</a>
			</li>
			</cust:when>
			 <cust:when authority="stock_history_list_in">
			<li id="n03">
				<a href="${root}/stock/list/init?loc=stock_history_list&requestType=in&h=h04&n=n03"> 
					<span class="glyphicon glyphicon-list"></span>申请记录
				</a>
			</li>
			</cust:when>
			 <cust:when authority="stock_history_list_out">
			<li id="n05">
				<a href="${root}/stock/list/init?loc=stock_history_list&requestType=out&h=h04&n=n05"> 
					<span class="glyphicon glyphicon-list"></span>返回记录
				</a>
			</li>
			</cust:when>
		</ul>
	</li>
   <li class="submenu"> 
		<a href="#"><i class="icon  icon-thumbs-up"></i> <span>配件申请</span></a>
		<ul>
		<cust:when authority="stock_in_req">
		<li id="n06">
				<a href="${root}/stock/in/request/init?h=h04&n=n06"> 
					<span class="glyphicon glyphicon-plus"></span>申请配件
				</a>
			</li>
			</cust:when>
			 <cust:when authority="stock_out_req">			
			<li id="n07">
				<a href="${root}/stock/out/request/init?h=h04&n=n07"> 
					<span class="glyphicon glyphicon-minus"></span>返回配件
				</a>
			</li>
			</cust:when>
		</ul>
	</li>
   <li class="submenu"> 
		<a href="#"><i class="icon  icon-hand-up"></i> <span>申请确认</span></a>
		<ul>
			 <cust:when authority="stock_app_list_in">
			<li id="n08">
				<a href="${root}/view/page?loc=stock_app_list&requestType=in&h=h04&n=n08"> 
					<span class="glyphicon glyphicon-list"></span>出仓确认
				</a>
			</li>
						</cust:when>
			 <cust:when authority="stock_app_list_out">
			<li id="n09">
				<a href="${root}/view/page?loc=stock_app_list&requestType=out&h=h04&n=n09"> 
					<span class="glyphicon glyphicon-list"></span>返仓确认
				</a>
			</li>			</cust:when>
		</ul>
	</li>
   <li class="submenu"> 
		<a href="#"><i class="icon  icon-hand-right"></i> <span>发货管理</span></a>
		<ul>
			 <cust:when authority="stock_post_list_out">
			<li id="n10">
				<a href="${root}/view/page?loc=stock_post_list&requestType=out&h=h04&n=n10"> 
					<span class="glyphicon glyphicon-list"></span>网点发货
				</a>
			</li>
						</cust:when>
			 <cust:when authority="stock_post_list_in">
			<li id="n11">
				<a href="${root}/view/page?loc=stock_post_list&requestType=in&h=h04&n=n11"> 
					<span class="glyphicon glyphicon-list"></span>仓库发货
				</a>
			</li>
						</cust:when>
		</ul>
	</li>
   <li class="submenu"> 
		<a href="#"><i class="icon  icon-hand-right"></i> <span>收货确认</span></a>
		<ul>
			 <cust:when authority="stock_rcv_list_in">
			<li id="n15">
				<a href="${root}/view/page?loc=stock_rcv_list&requestType=in&h=h04&n=n15"> 
					<span class="glyphicon glyphicon-list"></span>网点收货
				</a>
			</li>
			</cust:when>
			 <cust:when authority="stock_rcv_list_out">			
			<li id="n16">
				<a href="${root}/view/page?loc=stock_rcv_list&requestType=out&h=h04&n=n16"> 
					<span class="glyphicon glyphicon-list"></span>仓库收货
				</a>
			</li>
			</cust:when>
		</ul>
	</li>
 </ul>
 </div>

